<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <table id="1">
        <thead>
            <tr>
                <th>姓名</th>
                <th>用户名</th>
                <th>班级</th>
            </tr>
        </thead>
        <tbody>
            {% for stu in stus%}
                <tr>
                    <td>{{stu.name}}</td>
                    <td>{{stu.username}}</td>
                    <td>{{stu.clas__name}}</td>
                </tr>
            {% endfor %}
        </tbody>
    </table>
</body>
</html>